/**
 * @description: 获取banner图
 */
import  http  from '@/utils/http'
export function getBannerAPI (){
  return http({
    url:'/home/banner'
  })
}
export function getNewAPI(){
    return http({
        url:'/home/new'
    })
}

export function getHotAPI(){
    return http({
        url:'/home/hot'
    })
}

/**
 * @description: 获取所有商品模块
 * @param {*}
 * @return {*}
 */
export const getGoodsAPI = () => {
  return http({
    url: '/home/goods'
  })
}